package com.charles.video.api.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Charles-H
 * 
 * 私信实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessage implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /**
     * 私信ID
     */
    private Long chat_id;

    /**
     * 会话ID
     */
    private String session_id;

    /**
     * 发送者ID
     */
    private Long from_user_id;

    /**
     * 接收者ID
     */
    private Long to_user_id;

    /**
     * 私信内容(小于100)
     */
    private String contents;

    /**
     * 发送时间
     */
    private Date send_time;

}
